package com.itheima.reggie.common;

public class BaseTest {
    private static final ThreadLocal<Long> THREAD_ID=new ThreadLocal<>();

    private BaseTest() {

    }

    public static void set(Long id){
        THREAD_ID.set(id);
    }
    public static Long get(){
        return THREAD_ID.get();
    }
    public static void remove(){
        THREAD_ID.remove();
    }
}
